package org.sosim.modelo.programa;

import java.util.Arrays;
import java.util.List;

import org.sosim.modelo.instrucao.CpuBound;
import org.sosim.modelo.instrucao.Instrucao;
import org.sosim.modelo.instrucao.IoBound;
import org.sosim.modelo.recurso.RecursoMock;

public class ProgramaMock extends Programa {

	private ProgramaMock(List<Instrucao> instrucoes) {
		super(9999,instrucoes);
	}

	public ProgramaMock() {
		super(9999,Arrays.asList(new Instrucao[] {	new CpuBound(1, 50L),
													new CpuBound(2, 75L), 
													new CpuBound(3, 25L),
													new IoBound(4, 100L, new RecursoMock()),
													new CpuBound(5, 50L),
													new CpuBound(6, 75L), 
													new CpuBound(7, 25L),
													new IoBound(8, 100L, new RecursoMock()),
													new CpuBound(9, 50L),
													new CpuBound(10, 75L), 
													new CpuBound(11, 25L),
													new IoBound(12, 100L, new RecursoMock()) }
		));
	}
}
